#Region "using directives"
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
#End Region
Namespace MapiApplication
	Public Partial Class AddProfile
	Inherits Form
		#Region "Constructors"
		Public Sub New()
			InitializeComponent()
		End Sub
		#End Region
		#Region "Helper Methods"
		Public ReadOnly Property TbxBoxValue() As String
			Get
				Return (Me.tbxProfileNewProfileName.Text)
			End Get
		End Property
		#End Region
		#Region "Event Handlers"
        Private Sub AddProfile_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) Handles MyBase.KeyDown
            If e.KeyCode = Keys.Escape Then
                Me.Close()
            End If
        End Sub
        Private Sub tbxProfileNewProfileName_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles tbxProfileNewProfileName.TextChanged
            If tbxProfileNewProfileName.Text <> String.Empty Then
                btnOkAddProfile.Enabled = True
            Else
                btnOkAddProfile.Enabled = False
            End If
        End Sub
		#End Region

    End Class
End Namespace
